package com.ruoyi.sgsc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户地址对象 sg_addresses
 * 
 * @author wy
 * @date 2024-09-29
 */
public class addresses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址id */
    private Long addressId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户全称 */
    @Excel(name = "用户全称")
    private String fullName;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phoneNumber;

    /** 街道 */
    @Excel(name = "街道")
    private String streetAddress;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 省 */
    @Excel(name = "省")
    private String states;

    /** 是否默认 */
    @Excel(name = "是否默认")
    private Integer isdefault;

    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setFullName(String fullName) 
    {
        this.fullName = fullName;
    }

    public String getFullName() 
    {
        return fullName;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setStreetAddress(String streetAddress) 
    {
        this.streetAddress = streetAddress;
    }

    public String getStreetAddress() 
    {
        return streetAddress;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setStates(String states) 
    {
        this.states = states;
    }

    public String getStates() 
    {
        return states;
    }
    public void setIsdefault(Integer isdefault) 
    {
        this.isdefault = isdefault;
    }

    public Integer getIsdefault() 
    {
        return isdefault;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("userId", getUserId())
            .append("fullName", getFullName())
            .append("phoneNumber", getPhoneNumber())
            .append("streetAddress", getStreetAddress())
            .append("city", getCity())
            .append("states", getStates())
            .append("isdefault", getIsdefault())
            .toString();
    }
}
